/*-----------------------------------------------------------------------------------
	    My Site
        Built with Blocs
-----------------------------------------------------------------------------------*/

body {
  margin: 0;
  padding: 0;
  background: #FFF;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  &:hover {
    text-decoration: none;
    cursor: pointer;
  }
  outline: none !important;
}

button {
  outline: none !important;
}

/* Prevent ugly blue glow on chrome and safari */

#page-loading-blocs-notifaction {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  z-index: 100000;
  background: #FFFFFF url("pageload-spinner.gif") no-repeat center center;
}

/* = Blocs
-------------------------------------------------------------- */

.bloc {
  width: 100%;
  clear: both;
  background: 50% 50% no-repeat;
  padding: 0 0;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
  .container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Sizes */

.bloc-lg {
  padding: 100px 50px;
}

.bloc-sm {
  padding: 0 10px;
}

/* Dark theme */

.d-bloc {
  color: rgba(255, 255, 255, 0.7);
  button:hover {
    color: rgba(255, 255, 255, 0.9);
  }
  .icon-round, .icon-square, .icon-rounded, .icon-semi-rounded-a, .icon-semi-rounded-b {
    border-color: rgba(255, 255, 255, 0.9);
  }
  .divider-h span {
    border-color: rgba(255, 255, 255, 0.2);
  }
  .navbar a, .navbar-brand {
    color: rgba(255, 255, 255, 0.6);
  }
  a {
    .icon-sm, .icon-md, .icon-lg, .icon-xl {
      color: rgba(255, 255, 255, 0.6);
    }
  }
  h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, p a {
    color: rgba(255, 255, 255, 0.6);
  }
  navbar a:hover, .navbar-brand:hover {
    color: rgba(255, 255, 255, 1);
  }
  a:hover {
    .icon-sm, .icon-md, .icon-lg, .icon-xl {
      color: rgba(255, 255, 255, 1);
    }
  }
  h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, p a:hover {
    color: rgba(255, 255, 255, 1);
  }
  .navbar-toggle .icon-bar {
    background: rgba(255, 255, 255, 1);
  }
  .btn-wire {
    color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    &:hover {
      color: rgba(255, 255, 255, 1);
      border-color: rgba(255, 255, 255, 1);
    }
  }
  .panel {
    color: rgba(0, 0, 0, 0.5);
    button:hover {
      color: rgba(0, 0, 0, 0.7);
    }
    icon {
      border-color: rgba(0, 0, 0, 0.7);
    }
    .divider-h span {
      border-color: rgba(0, 0, 0, 0.1);
    }
  }
}

/* Light theme */

.l-bloc {
  color: rgba(0, 0, 0, 0.5);
}

.d-bloc .panel button:hover {
  color: rgba(0, 0, 0, 0.7);
}

.l-bloc {
  button:hover {
    color: rgba(0, 0, 0, 0.7);
  }
  .icon-round, .icon-square, .icon-rounded, .icon-semi-rounded-a, .icon-semi-rounded-b {
    border-color: rgba(0, 0, 0, 0.7);
  }
}

.d-bloc .panel .divider-h span, .l-bloc .divider-h span {
  border-color: rgba(0, 0, 0, 0.1);
}

.d-bloc .panel {
  color: rgba(0, 0, 0, 0.6);
}

.l-bloc {
  .navbar a, .navbar-brand {
    color: rgba(0, 0, 0, 0.6);
  }
  a {
    .icon-sm, .icon-md, .icon-lg, .icon-xl {
      color: rgba(0, 0, 0, 0.6);
    }
  }
  h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, p a {
    color: rgba(0, 0, 0, 0.6);
  }
}

.d-bloc .panel {
  color: rgba(0, 0, 0, 1);
}

.l-bloc {
  .navbar a:hover, .navbar-brand:hover {
    color: rgba(0, 0, 0, 1);
  }
  a:hover {
    .icon-sm, .icon-md, .icon-lg, .icon-xl {
      color: rgba(0, 0, 0, 1);
    }
  }
  h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, p a:hover {
    color: rgba(0, 0, 0, 1);
  }
  .navbar-toggle .icon-bar {
    color: rgba(0, 0, 0, 0.6);
  }
}

.d-bloc .panel .btn-wire, .l-bloc .btn-wire {
  color: rgba(0, 0, 0, 0.7);
  border-color: rgba(0, 0, 0, 0.3);
  &:hover {
    color: rgba(0, 0, 0, 0.7);
    border-color: rgba(0, 0, 0, 0.3);
  }
}

/* Row Margin Offsets */

.voffset {
  margin-top: 30px;
}

/* = NavBar
-------------------------------------------------------------- */

.navbar {
  margin-bottom: 0;
  z-index: 1;
}

.navbar-brand {
  height: auto;
  padding: 15px 15px;
  font-size: 25px;
  font-weight: normal;
  font-weight: 600;
  img {
    max-height: 200px;
    margin: 0 5px 0 0;
    display: inline;
  }
  padding: 15px 15px;
}

.navbar .nav {
  padding-top: 2px;
  margin-right: -16px;
  float: right;
  z-index: 1;
}

.nav > li {
  float: left;
  margin-top: 4px;
  font-size: 16px;
}

.navbar-nav .open .dropdown-menu > li > a {
  text-align: inherit;
}

.nav > li a {
  &:hover, &:focus {
    background: transparent;
  }
}

.navbar-toggle {
  margin: 10px 10px 0 0;
  border: 0px;
  &:hover {
    background: transparent !important;
  }
  .icon-bar {
    background-color: rgba(0, 0, 0, 0.5);
    width: 26px;
  }
}

/* Inverted navbar */

.nav-invert {
  .navbar .nav {
    float: left;
  }
  .navbar-header, .navbar-brand {
    float: right;
  }
}

@media (min-width: 768px) {
  .site-navigation {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translate(0, -50%);
    -webkit-transform: translateY(-50%);
  }
  .nav > li .dropdown-menu a {
    color: #484848;
    &:hover {
      color: #484848;
    }
  }
  .nav-invert .site-navigation {
    left: 20px;
    right: 0;
  }
  .nav-center {
    text-align: center;
    .navbar-header {
      width: 100%;
      float: none;
      display: inline-block;
    }
    .navbar-brand, .nav > li {
      float: none;
      display: inline-block;
    }
    .site-navigation {
      position: relative;
      width: 100%;
      margin-top: 20px;
    }
  }
}

.nav > li > .dropdown a {
  background: none !important;
  display: block;
  padding: 14px 15px;
}

nav .caret {
  margin: 0 5px;
}

/* Dropdown Menus SubMenu */

.dropdown-menu {
  .dropdown-menu {
    top: -8px;
    left: 100%;
  }
  .dropmenu-flow-right {
    top: 100%;
    left: 0;
    margin-left: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .dropdown span {
    border: 4px solid black;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    margin: 6px -5px 0 0 !important;
    float: right;
  }
}

/* Prevent ugly blue glow on chrome and safari */

button {
  outline: none !important;
}

.btn .caret, .dropdown a .caret {
  margin: 0 0 0 5px;
}

.btn-dropdown .dropdown-menu .dropdown {
  padding: 3px 20px;
}

/* = Icons
-------------------------------------------------------------- */

.icon-md {
  font-size: 30px !important;
}

.icon-round {
  margin: 0 auto;
  border: 2px solid transparent;
  border-radius: 50%;
  padding: 32px 30px 26px 30px;
  min-width: 80px;
  min-width: 92px;
}

.icon-md, .icon-square.icon-md, .icon-rounded.icon-md {
  min-width: 92px;
}

.icon-round.icon-lg, .icon-square.icon-lg, .icon-rounded.icon-lg {
  min-width: 122px;
}

.icon-round.icon-xl, .icon-square.icon-xl, .icon-rounded.icon-xl {
  min-width: 162px;
}

.panel-sq {
  border-radius: 0;
  .panel-heading, .panel-footer {
    border-radius: 0;
  }
}

.panel-rd {
  border-radius: 30px;
  .panel-heading {
    border-radius: 29px 29px 0 0;
  }
  .panel-footer {
    border-radius: 0 0 29px 29px;
  }
}

/* iFrame */

iframe {
  border: 0;
}

/* ScrollToTop button */
.scrollToTop {
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  z-index: 500;
  transition: all .3s ease-in-out;
  color: #FFF;
  background: rgba(0, 0, 0, 0.3);
  margin: 0 5px 5px 0;
  &.pull-right {
    margin: 0 0 5px 5px;
  }
  &:hover, &:focus {
    color: #FFF;
    background: rgba(0, 0, 0, 0.3);
  }
  span {
    margin-top: 6px;
  }
}

.showScrollTop {
  font-size: 14px;
  opacity: 1;
}

/* = Custom Styling
-------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6, p, label, .btn, a {
  font-family: "Helvetica";
}

.container {
  max-width: 1170px;
}

.hero-bloc-text {
  font-size: 55px;
}

.hero-bloc-text-sub {
  font-size: 36px;
}

.statement-bloc-text {
  line-height: 38px;
  font-style: italic;
  font-size: 28px;
  text-align: center;
  font-weight: lighter;
}

.my-header {
}

.build-with-blocs-bloc {
  background-color: #000;
  color: rgba(255, 255, 255, 0.4);
  p {
    font-size: 11px;
    font-family: "helvetica";
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
  }
}

/* = Colour
-------------------------------------------------------------- */

/* Background colour styles */

.bgc-white {
  background-color: #ffffff;
}

.bgc-outer-space {
  background-color: #47454B;
}

/* Link colour styles */

.ltc-white {
  color: #ffffff !important;
  &:hover {
    color: #ffffff !important;
  }
}

/* Bloc image backgrounds */

.bg-tracks {
  background-image: url('tracks.jpg');
}

.bg-camera {
  background-image: url('camera.jpg');
}

.bg-city-overlay {
  background-image: url('city-overlay.png');
}

.bg-desk-equipment {
  background-image: url('desk-equipment.jpg');
}

.bg-cornfield {
  background-image: url('cornfield.jpg');
}

/* = Mobile adjustments
-------------------------------------------------------------- */
@media (max-width: 1024px) {
  .bloc {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 100%;
  }
  .b-parallax {
    background-attachment: scroll;
  }
  .page-container, #hero-bloc {
    overflow-x: hidden;
    position: relative;
  }
  /* Prevent unwanted side scroll on mobile */
}

@media (max-width: 767px) {
  .page-container {
    overflow-x: hidden;
    position: relative;
  }
  h1, h2, h3, h4, h5, h6, p {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  #hero-bloc {
    h1 {
      font-size: 40px;
    }
    h2 {
      font-size: 34px;
    }
    h3 {
      font-size: 25px;
    }
  }
  .bloc {
    padding-left: 0;
    padding-right: 0;
    -webkit-background-size: auto 200%;
    -moz-background-size: auto 200%;
    -o-background-size: auto 200%;
    background-size: auto 200%;
  }
  .b-parallax {
    background-attachment: scroll;
  }
  .navbar {
    .nav {
      padding-top: 0;
      border-top: 1px solid rgba(0, 0, 0, 0.2);
      float: none !important;
    }
    &.row {
      margin-left: 0;
      margin-right: 0;
    }
  }
  .site-navigation {
    position: inherit;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
  }
  .nav > li {
    margin-top: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.05);
    text-align: left;
    padding-left: 15px;
    width: 100%;
    &:hover {
      background: rgba(0, 0, 0, 0.08);
    }
  }
  .dropdown .dropdown a .caret {
    float: none;
    margin: 5px 0 0 10px !important;
    border: 4px solid black;
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;
  }
  #hero-bloc .navbar .nav {
    background: rgba(0, 0, 0, 0.8);
    a {
      color: rgba(255, 255, 255, 0.6);
    }
  }
  .hero {
    padding: 50px 0;
  }
  .hero-nav {
    left: -1px;
    right: -1px;
  }
  .navbar-collapse {
    padding: 0;
    overflow-x: hidden;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .navbar-brand img {
    max-height: 40px;
    width: auto;
    margin: -10px 10px 0 0;
  }
  .nav-invert {
    .navbar-header {
      float: none;
      width: 100%;
    }
    .navbar-toggle {
      float: left;
    }
  }
  .bloc-group .bloc {
    display: block;
    width: 100%;
  }
  .bloc-tile-2 .container, .bloc-tile-3 .container, .bloc-tile-4 .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .bloc-xxl, .bloc-xl, .bloc-lg {
    padding: 40px 0;
  }
  .bloc-sm, .bloc-md {
    padding-left: 0;
    padding-right: 0;
  }
  .a-block {
    padding: 0 10px;
  }
  .btn-dwn {
    display: none;
  }
  .voffset {
    margin-top: 5px;
  }
  .voffset-md {
    margin-top: 20px;
  }
  .voffset-lg {
    margin-top: 30px;
  }
  form {
    padding: 5px;
  }
  .close-lightbox {
    display: inline-block;
  }
  .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .video-bg-contianer {
    display: none;
  }
  .blocsapp-device-iphone5 {
    background-size: 216px 425px;
    padding-top: 60px;
    width: 216px;
    height: 425px;
    img {
      width: 180px;
      height: 320px;
    }
  }
}